using System.Collections.Generic;
using RMH.DataAccess;
using RMH.Entities;

namespace RMH.Services
{
    public class RoomService : BaseRepositoryBackedService<Room, IRoomRepository>, IRoomService
    {
        public RoomService(IRoomRepository repository)
            : base(repository)
        {
        }

        public IList<Room> GetAllForDropdown()
        {
            var list = new List<Room> {null};
            list.AddRange(GetAll());
            return list;
        }
    }
}